import { request } from '/@/utils/http/axios';

// 试卷详情
export const spPaperDetail = (params) => {
  return request({
    url: '/sp/spPaperDetail',
    method: 'POST',
    params,
  });
};

// 评阅列表
export const spPaperInfoByKm = (params) => {
  return request({
    url: '/sp/spPaper',
    method: 'POST',
    params,
  });
};

// 试卷信息
export const getPaperById = (sjId) => {
  return request({
    url: `/sp/spPaperMessage/${sjId}`,
    method: 'GET',
  });
};


// 试卷管理评阅列表分数统计
export const getSpGradeStatistics = (kmId, params) => {
  return request({
    url: `/yzb/spStatistics/${kmId}`,
    method: 'GET',
    params,
  });
};
